package com.example.mybatisplush2;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
//@MapperScan("com.example.mybatisplush2.mapper")
@MapperScan("com.example.**.mapper") // 所有 com.example 下包及子包的mapper
public class MybatisplusH2Application {

    public static void main(String[] args) {
        SpringApplication.run(MybatisplusH2Application.class, args);
    }

}
